<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{#$title#}</title>
<meta http-equiv="X-UA-Compatible" content="IE=7">


<link href="{#$QISHI.site_template#}css/common.css" rel="stylesheet" type="text/css" />
<script>
function chk_form()
{
//--驗證崗位性質
var jobs_name = document.getElementsByName('jobs_name[]');
var len=0;
var flag1=false;
for(var i = 0 ; i < jobs_name.length;i++)
{
if(jobs_name[i].checked == true )
{
flag1=true;
break;
}
}
if (flag1==false)
{
alert("請選擇面試職位！");
return (false);
}

return (true);
}
</script>
<body>
{#include file="header.htm"#}
<div class="login_top_nav">邀請面試：</div>
<form id="Form1" name="Form1" method="post" action="?act=add_invitation_interview"  onsubmit="return chk_form();">
  <table width="800" border="0" align="center" cellpadding="5" cellspacing="3" style="margin-bottom:120px; margin-top:20px;">
    <tr>
      <td width="224" align="right">邀請：</td>
      <td width="547" class="link_lan"><a href="{#$resume_url#}" target="_blank">{#$fullname#}</a></td>
    </tr>
    <tr>
      <td width="224" align="right">邀請面試職位：</td>
      <td width="547">
{#foreach from=$user_jobs item=jobs_name#}
<label><input name="jobs_name[]" type="checkbox" value="{#$jobs_name.jobs_name#}" />{#$jobs_name.jobs_name#}</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
{#/foreach#}
	  </td>
    </tr>
    <tr>
      <td align="right" valign="top">其他說明：</td>
      <td valign="top"><textarea name="notes" id="notes" style="height:80px; width:330px; line-height:180%; font-size:12px; margin-bottom:5px;"  onpropertychange="if(this.value.length>200){this.value=this.value.slice(0,200)}"></textarea>
          <br />
        其他說明填寫：面試攜帶證件，聯系人，乘車路線等...</td>
    </tr>
    <tr>
      <td align="right" valign="top">
	  <input name="url" type="hidden" value="{#$url#}" />
	  <input name="resume_name" type="hidden" value="{#$fullname#}" />
	  <input name="companyname" type="hidden" value="{#$company_profile.companyname#}" />
	  <input name="company_id" type="hidden" value="{#$company_profile.id#}" />
	  <input name="company_uid" type="hidden" value="{#$company_profile.uid#}" />
	  <input name="resume_id" type="hidden" value="{#$resume_id#}" />
	  <input name="resume_uid" type="hidden" value="{#$resume_uid#}" />
	  <input name="points" type="hidden" value="{#$points#}" />
	  </td>
      <td><input type="submit" name="Submit" value="確定" {#if $points#} onClick="return confirm('邀請面試將扣除您 {#$points#} {#$QISHI.points_quantifier#}{#$QISHI.points_byname#}，您確定發起邀請嗎？')" {#/if#} style="font-size:12px; padding:3px;"/>
&nbsp;&nbsp;&nbsp;&nbsp;<input type="button" name="Submit2" value="返回"  style="font-size:12px; padding:3px;" onclick="javascript:history.back(-1);"/></td>
    </tr>
  </table>
</form>
{#include file="footer.htm"#}
</body>
</html>
